package org.tagging.dao.indonesian;

import org.apache.ibatis.annotations.Param;
import org.tagging.model.AbbreviationIndonesian;
import org.tagging.model.TaggingIndonesian;
import org.tagging.model.UnknownWordIndonesian;

import java.time.LocalDateTime;
import java.util.List;

public interface IndonesianMapper {
    List<TaggingIndonesian> listNotUsingAndUpdated(Integer size);

    void updateSelective(TaggingIndonesian tagging);

    List<TaggingIndonesian> listNotUsingAndTranslated(Integer size);

    List<TaggingIndonesian> listNotUsingAndAbbreviated(Integer size);

    List<TaggingIndonesian> listNotUsingAndUnknownWorded(Integer size);

    List<TaggingIndonesian> queryByTimePeriod(@Param("startTime") LocalDateTime startTime,
                                              @Param("endTime") LocalDateTime endTime,
                                              @Param("mode") int mode);

}
